
public class porte {
	
	public int idPorte;
	public boolean voyantVert;
	public boolean voyantRouge;
	public boolean laserFranchi;
	
	public porte(int idPorte, boolean voyantVert, boolean voyantRouge, boolean laserFranchi) {
		this.idPorte = idPorte;
		this.voyantVert = voyantVert;
		this.voyantRouge = voyantRouge;
		this.laserFranchi = laserFranchi;
	}

	public int getIdPorte() {
		return idPorte;
	}

	public void setIdPorte(int idPorte) {
		this.idPorte = idPorte;
	}

	public boolean isVoyantVert() {
		return voyantVert;
	}

	public void setVoyantVert(boolean voyantVert) {
		this.voyantVert = voyantVert;
	}

	public boolean isVoyantRouge() {
		return voyantRouge;
	}

	public void setVoyantRouge(boolean voyantRouge) {
		this.voyantRouge = voyantRouge;
	}

	public boolean isLaserFranchi() {
		return laserFranchi;
	}

	public void setLaserFranchi(boolean laserFranchi) {
		this.laserFranchi = laserFranchi;
	}
	
	
	
	
}
